package com.cdp.shiro.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.util.List;

/**
 * @program: shiro-demo
 * @description:
 * @author:caipeng
 * @create:2021-11-16 09:09:56
 */
@Data
public class Role extends BaseEntity{
    private String id;
    private String name;
    @TableField(exist = false)
    private List<Permission> permissions;
}
